package com.zlsy.es.dianping.mapper;

import com.zlsy.es.dianping.base.MyMapper;
import com.zlsy.es.dianping.pojo.model.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper extends MyMapper<User> {

    User selectByTelphoneAndPassword(@Param("telphone") String telphone, @Param("password") String password);

    int countAllUser();
}